/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bionic.shsc.entities;

import java.util.ArrayList;

/**
 *
 * @author ant
 */

public class QuestionData {
     
    // question types (in dict_question_type)
    public static final int QuestionTypeOneOfThree = 0;
    public static final int QuestionTypeMultiSelect = 1;
     public static final int QuestionTypeOneAnswer = 2;
    
    
    private int questionID;
    private String text;
    private int parentAnswerID;
    private int testID;
    private int questionType;
    private int minAnswer;

    private ArrayList<AnswerData> answerVariants;
    
    
    /**
     * @return the questionID
     */
    public int getQuestionID() {
        return questionID;
    }

    /**
     * @param questionID the questionID to set
     */
    public void setQuestionID(int questionID) {
        this.questionID = questionID;
    }

    /**
     * @return the text
     */
    public String getText() {
        return text;
    }

    /**
     * @param text the text to set
     */
    public void setText(String text) {
        this.text = text;
    }

    /**
     * @return the parentAnswerID
     */
    public int getParentAnswerID() {
        return parentAnswerID;
    }

    /**
     * @param parentAnswerID the parentAnswerID to set
     */
    public void setParentAnswerID(int parentAnswerID) {
        this.parentAnswerID = parentAnswerID;
    }

    /**
     * @return the testID
     */
    public int getTestID() {
        return testID;
    }

    /**
     * @param testID the testID to set
     */
    public void setTestID(int testID) {
        this.testID = testID;
    }

    /**
     * @return the questionType
     */
    public int getQuestionType() {
        return questionType;
    }

    /**
     * @param questionType the questionType to set
     */
    public void setQuestionType(int questionType) {
        this.questionType = questionType;
    }

    /**
     * @return the answerVariants
     */
    public ArrayList<AnswerData> getAnswerVariants() {
        return answerVariants;
    }

    /**
     * @param answerVariants the answerVariants to set
     */
    public void setAnswerVariants(ArrayList<AnswerData> answerVariants) {
        this.answerVariants = answerVariants;
    }

    /**
     * @return the minAnswer
     */
    public int getMinAnswer() {
        return minAnswer;
    }

    /**
     * @param minAnswer the minAnswer to set
     */
    public void setMinAnswer(int minAnswer) {
        this.minAnswer = minAnswer;
    }

}
